package com.ronri.ams.bean;

/**
 * 文件：ams.java
 * 包名：com.ronri.ams.bean;
 * 说明：
 * 作者：MS During
 * 日期：2017/5/18
 * 历史：
 */
public class taskDetail {

    /**
     * code : 0
     * data : {"project_id":54,"name":"2017第三季度例行监测【定性】","trade":"1,2,3","nature":1,"task":"1,2","start_date":"2017-05-01 00:00:00","end_date":"2017-06-10 00:00:00","lead_id":174,"dept_type":1,"region_code":"3204","section":"2,3,4","breed":"1209,1362,1539","total_num":246,"sample_year_num":10,"sample_times_num":10,"nature_name":"定性","dept_name":"常州市农畜水产品质量监督检验测试中心","task_name":"江苏省常州市_屠宰场,收储运环节,批发市场_鲜蛋,蔬菜类,水果类_246","region_name":"江苏省常州市","section_name":"屠宰场,收储运环节,批发市场","breed_name":"鲜蛋,蔬菜类,水果类","project_task_name":"抽样,检测"}
     * message : success
     * success : true
     */

    private int code;
    private DataBean data;
    private String message;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * project_id : 54
         * name : 2017第三季度例行监测【定性】
         * trade : 1,2,3
         * nature : 1
         * task : 1,2
         * start_date : 2017-05-01 00:00:00
         * end_date : 2017-06-10 00:00:00
         * lead_id : 174
         * dept_type : 1
         * region_code : 3204
         * section : 2,3,4
         * breed : 1209,1362,1539
         * total_num : 246
         * sample_year_num : 10
         * sample_times_num : 10
         * nature_name : 定性
         * dept_name : 常州市农畜水产品质量监督检验测试中心
         * task_name : 江苏省常州市_屠宰场,收储运环节,批发市场_鲜蛋,蔬菜类,水果类_246
         * region_name : 江苏省常州市
         * section_name : 屠宰场,收储运环节,批发市场
         * breed_name : 鲜蛋,蔬菜类,水果类
         * project_task_name : 抽样,检测
         */

        private int project_id;
        private String name;
        private String trade;
        private int nature;
        private String task;
        private String start_date;
        private String end_date;
        private int lead_id;
        private int dept_type;
        private String region_code;
        private String section;
        private String breed;
        private String total_num;
        private int sample_year_num;
        private int sample_times_num;
        private String nature_name;
        private String dept_name;
        private String task_name;
        private String region_name;
        private String section_name;
        private String breed_name;
        private String project_task_name;

        public int getProject_id() {
            return project_id;
        }

        public void setProject_id(int project_id) {
            this.project_id = project_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTrade() {
            return trade;
        }

        public void setTrade(String trade) {
            this.trade = trade;
        }

        public int getNature() {
            return nature;
        }

        public void setNature(int nature) {
            this.nature = nature;
        }

        public String getTask() {
            return task;
        }

        public void setTask(String task) {
            this.task = task;
        }

        public String getStart_date() {
            return start_date;
        }

        public void setStart_date(String start_date) {
            this.start_date = start_date;
        }

        public String getEnd_date() {
            return end_date;
        }

        public void setEnd_date(String end_date) {
            this.end_date = end_date;
        }

        public int getLead_id() {
            return lead_id;
        }

        public void setLead_id(int lead_id) {
            this.lead_id = lead_id;
        }

        public int getDept_type() {
            return dept_type;
        }

        public void setDept_type(int dept_type) {
            this.dept_type = dept_type;
        }

        public String getRegion_code() {
            return region_code;
        }

        public void setRegion_code(String region_code) {
            this.region_code = region_code;
        }

        public String getSection() {
            return section;
        }

        public void setSection(String section) {
            this.section = section;
        }

        public String getBreed() {
            return breed;
        }

        public void setBreed(String breed) {
            this.breed = breed;
        }

        public String getTotal_num() {
            return total_num;
        }

        public void setTotal_num(String total_num) {
            this.total_num = total_num;
        }

        public int getSample_year_num() {
            return sample_year_num;
        }

        public void setSample_year_num(int sample_year_num) {
            this.sample_year_num = sample_year_num;
        }

        public int getSample_times_num() {
            return sample_times_num;
        }

        public void setSample_times_num(int sample_times_num) {
            this.sample_times_num = sample_times_num;
        }

        public String getNature_name() {
            return nature_name;
        }

        public void setNature_name(String nature_name) {
            this.nature_name = nature_name;
        }

        public String getDept_name() {
            return dept_name;
        }

        public void setDept_name(String dept_name) {
            this.dept_name = dept_name;
        }

        public String getTask_name() {
            return task_name;
        }

        public void setTask_name(String task_name) {
            this.task_name = task_name;
        }

        public String getRegion_name() {
            return region_name;
        }

        public void setRegion_name(String region_name) {
            this.region_name = region_name;
        }

        public String getSection_name() {
            return section_name;
        }

        public void setSection_name(String section_name) {
            this.section_name = section_name;
        }

        public String getBreed_name() {
            return breed_name;
        }

        public void setBreed_name(String breed_name) {
            this.breed_name = breed_name;
        }

        public String getProject_task_name() {
            return project_task_name;
        }

        public void setProject_task_name(String project_task_name) {
            this.project_task_name = project_task_name;
        }
    }
}
